import Vue from 'vue';
import Vuex from 'vuex'; //引用

Vue.use(Vuex);

let store = new Vuex.Store({
    state: {
        loginStatus: false
    },
    mutations: {
        changeLogin(state, val) {
            state.loginStatus = val;
        }
    }
});

export default store;
